package com.ss.isc.data.trail.service;

import com.ss.isc.data.push.client.IPushService;
import com.ss.isc.util.em.Enums;
import com.ss.isc.util.netty.CaptureMyChannelHandler;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;



















@Service
@Transactional(rollbackFor = {Exception.class})
public class PushServiceImpl
  implements IPushService
{
  public void pushHome(String msg) { CaptureMyChannelHandler.send(msg, Enums.NettyUri.URI_HOME.getCode()); }



  
  public void pushHomePage(String msg) { CaptureMyChannelHandler.send(msg, Enums.NettyUri.URI_HOME_PAGE.getCode()); }
}
